package com.zcc.makingfriend.dao;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zcc
 */
@Data
public class Chat {
    private Long id;
    private String myUuid;
    private String otherUuid;
    private LocalDateTime time;
    private String message;
    private int isRead;

    public Chat(String myUuid, String otherUuid) {
        this.myUuid = myUuid;
        this.otherUuid = otherUuid;
    }
}
